"""
@ProjectName : StudentManagementSystem
@File        : student.py
@Author      : WorldWind(1772830365@qq.com)
@Address     : ChangSha - BoWeiFeng
@Date        : 2025/7/16 下午1:39
"""


# 学生信息类(实体类)
class Student:
    id = 0
    name = ''
    sno = ''
    address = ''
    sex = ''
    age = 0
    phone = ''

    def __init__(self):
        print(f'This is __init__ method. {self.get_class_name()} class startup')

    @classmethod
    def get_class_name(cls):
        return cls.__name__

    def __del__(self):
        print(f'This is __del__ method. The {self.get_class_name()} class has been recycled')
